package com.chujian.sys.vo.menu;

import com.chujian.framework.bean.IdName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 菜单元数据
 */
@Getter
@Setter
@Accessors(chain = true)
public class MenuMeta {

    private String title;
    private String icon;

    private boolean ignoreKeepAlive = false;
    private boolean hideMenu = false;

    // 自定义属性
    private Long funcId;
    private String funcMark;

    // 有权限的角色
    private List<IdName> myRoles;
}
